package com.school;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 学生管理系统主启动类
 * 
 * @author School Development Team
 * @version 1.0.0
 * @since 2024
 */
@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.school.mapper")
public class StudentManagementSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(StudentManagementSystemApplication.class, args);
        System.out.println("");
        System.out.println("===========================================");
        System.out.println("    学生管理系统启动成功！");
        System.out.println("    API文档地址: http://localhost:8080/doc.html");
        System.out.println("    系统版本: v1.0.0");
        System.out.println("===========================================");
        System.out.println("");
    }

}